package com.CST.vo.ys;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author chengwen
 */
@Data
public class AssetDetailVO {

    @ApiModelProperty("编码")
    @ExcelProperty("编码")
    private Integer num;

    @ApiModelProperty("预算科目编码")
    @ExcelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty("预算科目名称")
    @ExcelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty("资产编码")
    @ExcelProperty("资产编码")
    private String assetNum;

    @ApiModelProperty("资产名称")
    @ExcelProperty("资产名称")
    private String assetName;

    @ApiModelProperty("部门编码")
    @ExcelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("部门名称")
    @ExcelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("原值")
    @ExcelProperty("原值")
    private BigDecimal originalValue;

    @ApiModelProperty("开始使用日期")
    @ExcelProperty("开始使用日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime useStartDate;

    @ApiModelProperty("存放地址")
    @ExcelProperty("存放地址")
    private String site;

    @ApiModelProperty("使用人")
    @ExcelProperty("使用人")
    private String operator;

    @ApiModelProperty("院区")
    @ExcelProperty("院区 1：三香; 2：浒关")
    private Integer yard;

}
